﻿using Mapster.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.GenServices.Dtos.Gen
{
    public class DtoTemplateModel : IModel
    {
        /// <summary>
        /// 使用的命名空间集合
        /// </summary>
        public List<string> Usings { get; set; } = [];

        /// <summary>
        /// 类所在的命名空间
        /// </summary>
        public string Namespace { get; set; }

        /// <summary>
        /// 查询 DTO 类名
        /// </summary>
        public string QueryDtoClassName { get; set; }

        /// <summary>
        /// 查询 DTO 类的描述信息
        /// </summary>
        public string QueryDtoClassSummary { get; set; }

        /// <summary>
        /// 需要进行查询的字段
        /// </summary>
        public List<GenTableColumnDto> QueryFields { get; set; } = [];


        /// <summary>
        /// DTO 类名
        /// </summary>
        public string DtoClassName { get; set; }

        /// <summary>
        /// DTO 类的描述信息
        /// </summary>
        public string DtoClassSummary { get; set; }

        /// <summary>
        /// 字段集合
        /// </summary>
        public List<GenTableColumnDto> Fields { get; set; } = [];
    }
}
